import Vue from "vue";
import Vuex from 'vuex';

Vue.use(Vuex);


//引入模块
import Reader from "@/store/Reader";
import Book from "@/store/Book";
import Borrow from "@/store/Borrow";

//对外暴露一个store实例
export default new Vuex.Store({
    modules: {
        Reader,Book,Borrow
    }
})
